﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HRM
{
    public partial class frmToDate : Form
    {
        public DateTime ToDate = DateTime.Now;
        public frmToDate()
        {
            InitializeComponent();
            DateTextBoxShort dtbFrom = new DateTextBoxShort(txtToDate);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            ToDate = UISetting.GetDate(txtToDate.Text);
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
